package com.example.openfeign.clientfeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(name = "test", url = "${feign.url}")
public interface TestFeignClient {
    @PostMapping(value = "${feign.path}", consumes = MediaType.APPLICATION_XML_VALUE)
    Response test(@RequestBody Param param);
}

